import instance from "@/utils/request"

function createRecordApi(data) {
    return instance({
        url: "/record",
        method: "post",
        data
    })
}

function getRecordsApi(data) {
    return instance({
        url: "/record",
        method: "get",
        data
    })
}

export { createRecordApi, getRecordsApi }